<?php
/**
 * Created by PhpStorm.
 * User: soulmates
 * Date: 2017/8/15
 * Time: 上午8:17
 */
namespace app\restaurantadmin\validate;

use think\Validate;

class Messageval extends Validate
{

    protected $rule = [

        'message' => 'require|max:150',

    ];
    protected $message = [

        'message.require'  => '留言内容不能为空！',
        'message.max'  => '菜品类型名称不能超过150个字！',

    ];


}





?>